package com.qfedu.yuxiaoer.mapper;

import com.qfedu.yuxiaoer.entity.BillAccount;
import com.qfedu.yuxiaoer.entity.BillAccountExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface BillAccountMapper {
    long countByExample(BillAccountExample example);

    int deleteByExample(BillAccountExample example);

    int deleteByPrimaryKey(Integer id);

    // 新增记账
    int insert(BillAccount record);

    int insertSelective(BillAccount record);

    List<BillAccount> selectByExample(BillAccountExample example);

    BillAccount selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") BillAccount record, @Param("example") BillAccountExample example);

    int updateByExample(@Param("record") BillAccount record, @Param("example") BillAccountExample example);

    int updateByPrimaryKeySelective(BillAccount record);

    int updateByPrimaryKey(BillAccount record);
}